package com.example.pages;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;

public class InternalPage extends AnyPage {
	
	//@FindBy (linkText="Log out")
	@FindBy (xpath = "//nav/ul/li/a[@href='http://localhost/php4dvd/?logout']")
	public WebElement menuLogoutLink;
	//@FindBy (linkText="My profile")
	@FindBy (xpath = "//nav/ul/li/a[@href='http://localhost/php4dvd/?go=profile']")
	public WebElement menuMyProfile;
	//@FindBy (linkText="User management")
	@FindBy (xpath = "//nav/ul/li/a[@href='http://localhost/php4dvd/?go=users']")
	public WebElement menuUserManagement;
	//@FindBy (linkText="Home")
	@FindBy (xpath = "//nav/ul/li/a[@href='http://localhost/php4dvd/']")
	public WebElement Home;
	@FindBy (xpath = "//a[contains(@href, './?go=add')]")
	public WebElement AddMovie;
	@FindBy (xpath = "//a[contains(@href, './?go=imdbupdate')]")
	public WebElement UpdateAll;
	@FindBy (xpath = "//a[contains(@href, './?go=export')]")
	public WebElement Export;
	

}
